﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.Devices.Dto
{
    public class boardInfoDto: UserParam
    {

        /// <summary>
        ///设备编号
        /// </summary>
        public string deviceNo { get; set; }

        /// <summary>
        ///发送模式
        /// </summary>
        public int? sendimode { get; set; }

        /// <summary>
        ///采集间隔
        /// </summary>
        public int? gatherInterval { get; set; }
        /// <summary>
        ///心跳间隔
        /// </summary>
        public int? heartbeatInterval { get; set; }

        /// <summary>
        ///主IP
        /// </summary>
        public string primaryIP { get; set; }

        /// <summary>
        ///副IP
        /// </summary>
        public string secondaryIP { get; set; }

        /// <summary>
        ///省电模式
        /// </summary>
        public int? powerMode { get; set; }

        /// <summary>
        ///显示开关
        /// </summary>
        public int? displaySwitch { get; set; }
    }
    public class UserParam
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }
}
